<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QxOrm: C:/Dvlp/_Perso/QxOrm/include/QxRegister/IxClass.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo_qxorm.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QxOrm
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
   <div id="projectbrief">C++ Object Relational Mapping library</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_ix_class_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">IxClass.h</div>  </div>
</div>
<div class="contents">
<a href="_ix_class_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/****************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment">**</span>
<a name="l00003"></a>00003 <span class="comment">** http://www.qxorm.com/</span>
<a name="l00004"></a>00004 <span class="comment">** Copyright (C) 2013 Lionel Marty (contact@qxorm.com)</span>
<a name="l00005"></a>00005 <span class="comment">**</span>
<a name="l00006"></a>00006 <span class="comment">** This file is part of the QxOrm library</span>
<a name="l00007"></a>00007 <span class="comment">**</span>
<a name="l00008"></a>00008 <span class="comment">** This software is provided &#39;as-is&#39;, without any express or implied</span>
<a name="l00009"></a>00009 <span class="comment">** warranty. In no event will the authors be held liable for any</span>
<a name="l00010"></a>00010 <span class="comment">** damages arising from the use of this software</span>
<a name="l00011"></a>00011 <span class="comment">**</span>
<a name="l00012"></a>00012 <span class="comment">** Commercial Usage</span>
<a name="l00013"></a>00013 <span class="comment">** Licensees holding valid commercial QxOrm licenses may use this file in</span>
<a name="l00014"></a>00014 <span class="comment">** accordance with the commercial license agreement provided with the</span>
<a name="l00015"></a>00015 <span class="comment">** Software or, alternatively, in accordance with the terms contained in</span>
<a name="l00016"></a>00016 <span class="comment">** a written agreement between you and Lionel Marty</span>
<a name="l00017"></a>00017 <span class="comment">**</span>
<a name="l00018"></a>00018 <span class="comment">** GNU General Public License Usage</span>
<a name="l00019"></a>00019 <span class="comment">** Alternatively, this file may be used under the terms of the GNU</span>
<a name="l00020"></a>00020 <span class="comment">** General Public License version 3.0 as published by the Free Software</span>
<a name="l00021"></a>00021 <span class="comment">** Foundation and appearing in the file &#39;license.gpl3.txt&#39; included in the</span>
<a name="l00022"></a>00022 <span class="comment">** packaging of this file. Please review the following information to</span>
<a name="l00023"></a>00023 <span class="comment">** ensure the GNU General Public License version 3.0 requirements will be</span>
<a name="l00024"></a>00024 <span class="comment">** met : http://www.gnu.org/copyleft/gpl.html</span>
<a name="l00025"></a>00025 <span class="comment">**</span>
<a name="l00026"></a>00026 <span class="comment">** If you are unsure which license is appropriate for your use, or</span>
<a name="l00027"></a>00027 <span class="comment">** if you have questions regarding the use of this file, please contact :</span>
<a name="l00028"></a>00028 <span class="comment">** contact@qxorm.com</span>
<a name="l00029"></a>00029 <span class="comment">**</span>
<a name="l00030"></a>00030 <span class="comment">****************************************************************************/</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="preprocessor">#ifndef _IX_CLASS_H_</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#define _IX_CLASS_H_</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span>
<a name="l00035"></a>00035 <span class="preprocessor">#ifdef _MSC_VER</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#pragma once</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00046"></a>00046 <span class="preprocessor">#ifndef _QX_NO_RTTI</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor">#include &lt;typeinfo&gt;</span>
<a name="l00048"></a>00048 <span class="preprocessor">#endif // _QX_NO_RTTI</span>
<a name="l00049"></a>00049 <span class="preprocessor"></span>
<a name="l00050"></a>00050 <span class="preprocessor">#include &lt;<a class="code" href="_qx_property_bag_8h.html" title="Used by introspection engine (IxClass, IxDataMember, IxFunction, etc.) to add meta-data (property bag...">QxCommon/QxPropertyBag.h</a>&gt;</span>
<a name="l00051"></a>00051 
<a name="l00052"></a>00052 <span class="preprocessor">#include &lt;<a class="code" href="_ix_data_member_x_8h.html" title="Common interface for a list of IxDataMember class properties registered into QxOrm context (for examp...">QxDataMember/IxDataMemberX.h</a>&gt;</span>
<a name="l00053"></a>00053 
<a name="l00054"></a>00054 <span class="preprocessor">#include &lt;<a class="code" href="_ix_function_8h.html" title="Common interface for all functions registered into QxOrm context (used by introspection engine)...">QxFunction/IxFunction.h</a>&gt;</span>
<a name="l00055"></a>00055 
<a name="l00056"></a>00056 <span class="preprocessor">#include &lt;<a class="code" href="_qx_soft_delete_8h.html" title="Soft delete (or logical delete) behavior to update a row into database (flag it as deleted) instead o...">QxDao/QxSoftDelete.h</a>&gt;</span>
<a name="l00057"></a>00057 
<a name="l00058"></a>00058 <span class="preprocessor">#include &lt;<a class="code" href="_ix_validator_x_8h.html" title="Common interface for a list of validators.">QxValidator/IxValidatorX.h</a>&gt;</span>
<a name="l00059"></a>00059 
<a name="l00060"></a>00060 <span class="keyword">namespace </span>qx {
<a name="l00061"></a>00061 
<a name="l00066"></a><a class="code" href="classqx_1_1_ix_class.html">00066</a> <span class="keyword">class </span><a class="code" href="_qx_macro_8h.html#aa569abe24f343fdc4ad5e12e156ba8a2">QX_DLL_EXPORT</a> <a class="code" href="classqx_1_1_ix_class.html" title="qx::IxClass : common interface for all classes registered into QxOrm context">IxClass</a> : <span class="keyword">public</span> qx::<a class="code" href="classqx_1_1_qx_property_bag.html" title="qx::QxPropertyBag : used by introspection engine (IxClass, IxDataMember, IxFunction, etc.) to add meta-data (property bag)">QxPropertyBag</a>
<a name="l00067"></a>00067 {
<a name="l00068"></a>00068 
<a name="l00069"></a>00069 <span class="keyword">protected</span>:
<a name="l00070"></a>00070 
<a name="l00071"></a><a class="code" href="classqx_1_1_ix_class.html#a797fc8d79cb4762dceac229bd5c6226b">00071</a>    <a class="code" href="classqx_1_1_ix_data_member_x.html" title="qx::IxDataMemberX : common interface for a list of IxDataMember class properties registered into QxOr...">IxDataMemberX</a> * <a class="code" href="classqx_1_1_ix_class.html#a797fc8d79cb4762dceac229bd5c6226b" title="List of data member.">m_pDataMemberX</a>;                    
<a name="l00072"></a><a class="code" href="classqx_1_1_ix_class.html#aef188d6ba552042892c02d0f9f8fe21b">00072</a>    <a class="code" href="namespaceqx.html#a76fd20279e2084c77fb983aced369308">IxFunctionX_ptr</a> <a class="code" href="classqx_1_1_ix_class.html#aef188d6ba552042892c02d0f9f8fe21b" title="List of function member.">m_pFctMemberX</a>;                     
<a name="l00073"></a><a class="code" href="classqx_1_1_ix_class.html#aaca131ebc478ed2e6141ce70b24c5230">00073</a>    <a class="code" href="namespaceqx.html#a76fd20279e2084c77fb983aced369308">IxFunctionX_ptr</a> <a class="code" href="classqx_1_1_ix_class.html#aaca131ebc478ed2e6141ce70b24c5230" title="List of function static.">m_pFctStaticX</a>;                     
<a name="l00074"></a>00074 
<a name="l00075"></a><a class="code" href="classqx_1_1_ix_class.html#a3601c1a2d7dd229e926ade855589f2d0">00075</a>    QString <a class="code" href="classqx_1_1_ix_class.html#a3601c1a2d7dd229e926ade855589f2d0" title="&#39;IxClass&#39; key &lt;=&gt; class name">m_sKey</a>;                                    
<a name="l00076"></a><a class="code" href="classqx_1_1_ix_class.html#a3157fe3d25946651a4385f4848340386">00076</a>    QString <a class="code" href="classqx_1_1_ix_class.html#a3157fe3d25946651a4385f4848340386" title="&#39;IxClass&#39; name &lt;=&gt; database table name (if empty =&gt; class name)">m_sName</a>;                                   
<a name="l00077"></a><a class="code" href="classqx_1_1_ix_class.html#a6347ab50d7372e173cf6aa8555d4c9ae">00077</a>    QString <a class="code" href="classqx_1_1_ix_class.html#a6347ab50d7372e173cf6aa8555d4c9ae" title="&#39;IxClass&#39; description">m_sDescription</a>;                            
<a name="l00078"></a><a class="code" href="classqx_1_1_ix_class.html#abe0663f9a3d88f4a0d8f6e00e38f0336">00078</a>    <span class="keywordtype">long</span> <a class="code" href="classqx_1_1_ix_class.html#abe0663f9a3d88f4a0d8f6e00e38f0336" title="&#39;IxClass&#39; version">m_lVersion</a>;                                   
<a name="l00079"></a><a class="code" href="classqx_1_1_ix_class.html#a88f4b284cef4299bfbd5acbb4b77638b">00079</a>    <span class="keywordtype">bool</span> <a class="code" href="classqx_1_1_ix_class.html#a88f4b284cef4299bfbd5acbb4b77638b" title="Class without base class (for example, qx::trait::no_base_class_defined and QObject)">m_bFinalClass</a>;                                
<a name="l00080"></a><a class="code" href="classqx_1_1_ix_class.html#aae34159ab9cb97775a70887d988436d0">00080</a>    <span class="keywordtype">bool</span> <a class="code" href="classqx_1_1_ix_class.html#aae34159ab9cb97775a70887d988436d0" title="If &#39;true&#39;, cannot INSERT, UPDATE OR DELETE an instance of this class using qx::dao namespace...">m_bDaoReadOnly</a>;                               
<a name="l00081"></a><a class="code" href="classqx_1_1_ix_class.html#ae2d1e0f77bab301636aa782cd8158745">00081</a>    <span class="keywordtype">bool</span> <a class="code" href="classqx_1_1_ix_class.html#ae2d1e0f77bab301636aa782cd8158745" title="Class registered into QxOrm context.">m_bRegistered</a>;                                
<a name="l00082"></a><a class="code" href="classqx_1_1_ix_class.html#ade784ec84c9909224f57f3fd4df3c03d">00082</a>    <a class="code" href="structqx_1_1dao_1_1strategy.html#ac09cbf3cb9689ce7b1ed567c12b314fc">qx::dao::strategy::inheritance</a> <a class="code" href="classqx_1_1_ix_class.html#ade784ec84c9909224f57f3fd4df3c03d" title="Dao class strategy to access data member.">m_eDaoStrategy</a>;     
<a name="l00083"></a><a class="code" href="classqx_1_1_ix_class.html#a3e5c6a5e3cce4408d0c457967ed0de9d">00083</a>    <a class="code" href="classqx_1_1_qx_soft_delete.html" title="qx::QxSoftDelete : soft delete (or logical delete) behavior to update a row into database (flag it as...">qx::QxSoftDelete</a> <a class="code" href="classqx_1_1_ix_class.html#a3e5c6a5e3cce4408d0c457967ed0de9d" title="Soft delete (or logical delete) behavior.">m_oSoftDelete</a>;                    
<a name="l00084"></a><a class="code" href="classqx_1_1_ix_class.html#a3f4f2fab458559d562513ab4fdc1afcf">00084</a>    <a class="code" href="namespaceqx.html#a45b31de17c6a892b0c55f4944fa3eb54">IxValidatorX_ptr</a> <a class="code" href="classqx_1_1_ix_class.html#a3f4f2fab458559d562513ab4fdc1afcf" title="List of validator associated to the class.">m_pAllValidator</a>;                  
<a name="l00085"></a>00085 
<a name="l00086"></a><a class="code" href="classqx_1_1_ix_class.html#acd5be55c07a180b9148c1e330ed9f9ea">00086</a>    QByteArray <a class="code" href="classqx_1_1_ix_class.html#acd5be55c07a180b9148c1e330ed9f9ea" title="Optimization to retrieve name under &quot;const char *&quot; format.">m_byteName</a>;                             
<a name="l00087"></a><a class="code" href="classqx_1_1_ix_class.html#ab4212659aac12c429f61836facb759c1">00087</a>    <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="classqx_1_1_ix_class.html#ab4212659aac12c429f61836facb759c1" title="Optimization to retrieve name under &quot;const char *&quot; format.">m_pName</a>;                              
<a name="l00088"></a>00088 
<a name="l00089"></a>00089 <span class="keyword">protected</span>:
<a name="l00090"></a>00090 
<a name="l00091"></a><a class="code" href="classqx_1_1_ix_class.html#abd3859b62173405644f253a9c6f8c952">00091</a>    <a class="code" href="classqx_1_1_ix_class.html#abd3859b62173405644f253a9c6f8c952">IxClass</a>() : qx::<a class="code" href="classqx_1_1_qx_property_bag.html" title="qx::QxPropertyBag : used by introspection engine (IxClass, IxDataMember, IxFunction, etc.) to add meta-data (property bag)">QxPropertyBag</a>(), m_pDataMemberX(NULL), m_lVersion(-1), m_bFinalClass(false), m_bDaoReadOnly(false), m_bRegistered(false), m_eDaoStrategy(qx::dao::strategy::concrete_table_inheritance), m_pName(NULL) { ; }
<a name="l00092"></a>00092    <span class="keyword">virtual</span> ~<a class="code" href="classqx_1_1_ix_class.html" title="qx::IxClass : common interface for all classes registered into QxOrm context">IxClass</a>() = 0;
<a name="l00093"></a>00093 
<a name="l00094"></a>00094    <span class="keywordtype">void</span> updateClassX();
<a name="l00095"></a>00095 
<a name="l00096"></a>00096 <span class="keyword">public</span>:
<a name="l00097"></a>00097 
<a name="l00098"></a><a class="code" href="classqx_1_1_ix_class.html#a904f03f881b5deffffe973608ddd3aa0">00098</a>    <span class="keyword">inline</span> QString <a class="code" href="classqx_1_1_ix_class.html#a904f03f881b5deffffe973608ddd3aa0">getKey</a>()<span class="keyword"> const                                  </span>{ <span class="keywordflow">return</span> m_sKey; }
<a name="l00099"></a><a class="code" href="classqx_1_1_ix_class.html#ab39c5136331f84097bf2fa8803c4a399">00099</a>    <span class="keyword">inline</span> QString <a class="code" href="classqx_1_1_ix_class.html#ab39c5136331f84097bf2fa8803c4a399">getName</a>()<span class="keyword"> const                                 </span>{ <span class="keywordflow">return</span> m_sName; }
<a name="l00100"></a><a class="code" href="classqx_1_1_ix_class.html#aea83f4a7be1b7448441570ebfdbc485f">00100</a>    <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="classqx_1_1_ix_class.html#aea83f4a7be1b7448441570ebfdbc485f">getNamePtr</a>()<span class="keyword"> const                         </span>{ <span class="keywordflow">return</span> m_pName; }
<a name="l00101"></a><a class="code" href="classqx_1_1_ix_class.html#a6164ca7ddb6b13f1953dea5058626388">00101</a>    <span class="keyword">inline</span> QString <a class="code" href="classqx_1_1_ix_class.html#a6164ca7ddb6b13f1953dea5058626388">getDescription</a>()<span class="keyword"> const                          </span>{ <span class="keywordflow">return</span> m_sDescription; }
<a name="l00102"></a><a class="code" href="classqx_1_1_ix_class.html#a512a40ec46b4adc7bd8ad6160d9ca4ff">00102</a>    <span class="keyword">inline</span> <span class="keywordtype">long</span> <a class="code" href="classqx_1_1_ix_class.html#a512a40ec46b4adc7bd8ad6160d9ca4ff">getVersion</a>()<span class="keyword"> const                                 </span>{ <span class="keywordflow">return</span> m_lVersion; }
<a name="l00103"></a><a class="code" href="classqx_1_1_ix_class.html#a69113db774ca34603b59edadf2464e89">00103</a>    <span class="keyword">inline</span> <a class="code" href="structqx_1_1dao_1_1strategy.html#ac09cbf3cb9689ce7b1ed567c12b314fc">qx::dao::strategy::inheritance</a> <a class="code" href="classqx_1_1_ix_class.html#a69113db774ca34603b59edadf2464e89">getDaoStrategy</a>()<span class="keyword"> const   </span>{ <span class="keywordflow">return</span> m_eDaoStrategy; }
<a name="l00104"></a><a class="code" href="classqx_1_1_ix_class.html#ae4d37aa15faf1e8f5a779de1b60cec48">00104</a>    <span class="keyword">inline</span> <a class="code" href="classqx_1_1_qx_soft_delete.html" title="qx::QxSoftDelete : soft delete (or logical delete) behavior to update a row into database (flag it as...">qx::QxSoftDelete</a> <a class="code" href="classqx_1_1_ix_class.html#ae4d37aa15faf1e8f5a779de1b60cec48">getSoftDelete</a>()<span class="keyword"> const                  </span>{ <span class="keywordflow">return</span> m_oSoftDelete; }
<a name="l00105"></a><a class="code" href="classqx_1_1_ix_class.html#a3d00bdb3859e44323ea1708929c0ac13">00105</a>    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classqx_1_1_ix_class.html#a3d00bdb3859e44323ea1708929c0ac13">isFinalClass</a>()<span class="keyword"> const                               </span>{ <span class="keywordflow">return</span> m_bFinalClass; }
<a name="l00106"></a><a class="code" href="classqx_1_1_ix_class.html#a46cad670ea8a23440a6e1edf739fd10c">00106</a>    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classqx_1_1_ix_class.html#a46cad670ea8a23440a6e1edf739fd10c">isDaoReadOnly</a>()<span class="keyword"> const                              </span>{ <span class="keywordflow">return</span> m_bDaoReadOnly; }
<a name="l00107"></a><a class="code" href="classqx_1_1_ix_class.html#ab8138e086719f4f551a6e32602076669">00107</a>    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classqx_1_1_ix_class.html#ab8138e086719f4f551a6e32602076669">isRegistered</a>()<span class="keyword"> const                               </span>{ <span class="keywordflow">return</span> m_bRegistered; }
<a name="l00108"></a><a class="code" href="classqx_1_1_ix_class.html#a668a6091e56a8133606e64cba430baa4">00108</a>    <span class="keyword">inline</span> <a class="code" href="classqx_1_1_ix_data_member_x.html" title="qx::IxDataMemberX : common interface for a list of IxDataMember class properties registered into QxOr...">IxDataMemberX</a> * <a class="code" href="classqx_1_1_ix_class.html#a668a6091e56a8133606e64cba430baa4">getDataMemberX</a>()<span class="keyword"> const                  </span>{ <span class="keywordflow">return</span> m_pDataMemberX; }
<a name="l00109"></a><a class="code" href="classqx_1_1_ix_class.html#aa02b86578df471ec794a75ba3d4b05e1">00109</a>    <span class="keyword">inline</span> <a class="code" href="classqx_1_1_qx_collection.html" title="qx::QxCollection&lt;Key, Value&gt; : QxOrm container (keep insertion order + quick access by index + quick ...">IxFunctionX</a> * <a class="code" href="classqx_1_1_ix_class.html#aa02b86578df471ec794a75ba3d4b05e1">getFctMemberX</a>()<span class="keyword"> const                     </span>{ <span class="keywordflow">return</span> m_pFctMemberX.get(); }
<a name="l00110"></a><a class="code" href="classqx_1_1_ix_class.html#ae79335969e017c3fae94de6524b94667">00110</a>    <span class="keyword">inline</span> <a class="code" href="classqx_1_1_qx_collection.html" title="qx::QxCollection&lt;Key, Value&gt; : QxOrm container (keep insertion order + quick access by index + quick ...">IxFunctionX</a> * <a class="code" href="classqx_1_1_ix_class.html#ae79335969e017c3fae94de6524b94667">getFctStaticX</a>()<span class="keyword"> const                     </span>{ <span class="keywordflow">return</span> m_pFctStaticX.get(); }
<a name="l00111"></a>00111 
<a name="l00112"></a><a class="code" href="classqx_1_1_ix_class.html#a4420db83c592f83031cea697b18400f6">00112</a>    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classqx_1_1_ix_class.html#a4420db83c592f83031cea697b18400f6">setName</a>(<span class="keyword">const</span> QString &amp; sName)                                 { m_sName = sName; updateNamePtr(); }
<a name="l00113"></a><a class="code" href="classqx_1_1_ix_class.html#af8de82cac30bce2125d18b0aec2e72ee">00113</a>    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classqx_1_1_ix_class.html#af8de82cac30bce2125d18b0aec2e72ee">setDescription</a>(<span class="keyword">const</span> QString &amp; sDesc)                          { m_sDescription = sDesc; }
<a name="l00114"></a><a class="code" href="classqx_1_1_ix_class.html#a4ab8c9021b3945221c8035b4d0ec133c">00114</a>    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classqx_1_1_ix_class.html#a4ab8c9021b3945221c8035b4d0ec133c">setDaoStrategy</a>(<a class="code" href="structqx_1_1dao_1_1strategy.html#ac09cbf3cb9689ce7b1ed567c12b314fc">qx::dao::strategy::inheritance</a> eDaoStrategy)    { m_eDaoStrategy = eDaoStrategy; }
<a name="l00115"></a><a class="code" href="classqx_1_1_ix_class.html#ae7163ce2e2d5bc6246097622113d09f2">00115</a>    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classqx_1_1_ix_class.html#ae7163ce2e2d5bc6246097622113d09f2">setSoftDelete</a>(<span class="keyword">const</span> <a class="code" href="classqx_1_1_qx_soft_delete.html" title="qx::QxSoftDelete : soft delete (or logical delete) behavior to update a row into database (flag it as...">qx::QxSoftDelete</a> &amp; oSoftDelete)            { m_oSoftDelete = oSoftDelete; <span class="keywordflow">if</span> (m_oSoftDelete.getTableName().isEmpty()) { m_oSoftDelete.<a class="code" href="classqx_1_1_qx_soft_delete.html#a60ac45e661187ea2e4aef088322cbb76">setTableName</a>(m_sName); } }
<a name="l00116"></a><a class="code" href="classqx_1_1_ix_class.html#a795bf45c3792e1e158f0c9236e2f8ad0">00116</a>    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classqx_1_1_ix_class.html#a795bf45c3792e1e158f0c9236e2f8ad0">setDaoReadOnly</a>(<span class="keywordtype">bool</span> bDaoReadOnly)                              { m_bDaoReadOnly = bDaoReadOnly; }
<a name="l00117"></a>00117 
<a name="l00118"></a>00118    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isAbstract() <span class="keyword">const</span> = 0;
<a name="l00119"></a>00119    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> implementIxPersistable() <span class="keyword">const</span> = 0;
<a name="l00120"></a>00120    <span class="keyword">virtual</span> <a class="code" href="classqx_1_1_ix_class.html" title="qx::IxClass : common interface for all classes registered into QxOrm context">IxClass</a> * getBaseClass() <span class="keyword">const</span> = 0;
<a name="l00121"></a>00121    <span class="keyword">virtual</span> <a class="code" href="classqx_1_1_ix_validator_x.html" title="qx::IxValidatorX : common interface for a list of validators">IxValidatorX</a> * getAllValidator();
<a name="l00122"></a>00122 
<a name="l00123"></a>00123    <a class="code" href="classqx_1_1_ix_data_member.html" title="qx::IxDataMember : common interface for all class properties registered into QxOrm context...">IxDataMember</a> * getId(<span class="keywordtype">bool</span> bRecursive = <span class="keyword">false</span>) <span class="keyword">const</span>;
<a name="l00124"></a>00124    <span class="keywordtype">bool</span> isKindOf(<span class="keyword">const</span> QString &amp; sClassName) <span class="keyword">const</span>;
<a name="l00125"></a>00125    QString dumpClass() <span class="keyword">const</span>;
<a name="l00126"></a>00126 
<a name="l00127"></a>00127 <span class="preprocessor">#ifndef _QX_NO_RTTI</span>
<a name="l00128"></a>00128 <span class="preprocessor"></span>   <span class="keyword">virtual</span> <span class="keyword">const</span> std::type_info &amp; typeInfo() <span class="keyword">const</span> = 0;
<a name="l00129"></a>00129    <span class="keywordtype">bool</span> isKindOf(<span class="keyword">const</span> std::type_info &amp; typeInfo) <span class="keyword">const</span>;
<a name="l00130"></a>00130 <span class="preprocessor">#endif // _QX_NO_RTTI</span>
<a name="l00131"></a>00131 <span class="preprocessor"></span>
<a name="l00132"></a>00132 <span class="keyword">private</span>:
<a name="l00133"></a>00133 
<a name="l00134"></a><a class="code" href="classqx_1_1_ix_class.html#a20d2c38e8e71324df38b62cb0978563b">00134</a>    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classqx_1_1_ix_class.html#a20d2c38e8e71324df38b62cb0978563b">updateNamePtr</a>()   { m_byteName = m_sName.toLatin1(); m_pName = m_byteName.constData(); }
<a name="l00135"></a>00135 
<a name="l00136"></a>00136 };
<a name="l00137"></a>00137 
<a name="l00138"></a><a class="code" href="namespaceqx.html#a7d2d11dd3521145d77789aa95b58abcb">00138</a> <span class="keyword">typedef</span> qx_shared_ptr&lt;IxClass&gt; <a class="code" href="namespaceqx.html#a7d2d11dd3521145d77789aa95b58abcb">IxClass_ptr</a>;
<a name="l00139"></a>00139 
<a name="l00140"></a>00140 } <span class="comment">// namespace qx</span>
<a name="l00141"></a>00141 
<a name="l00142"></a>00142 <span class="preprocessor">#endif // _IX_CLASS_H_</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_ix_class_8h.html">IxClass.h</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Sun Dec 11 2016 13:41:04 for QxOrm by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
